package cn.edu.zut.score.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import cn.edu.zut.score.core.domain.DataLogInfo;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zby
 * @since 2021-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("reply")
@ApiModel("Reply对象")
public class Reply extends DataLogInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "答辩ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "小组ID")
    @TableField("group_id")
    private Long groupId;

    @ApiModelProperty(value = "答辩标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "学生打分权重 0为不开启学生打分")
    @TableField("weight")
    private Integer weight;


    @ApiModelProperty(value = "学生是否可以自评")
    @TableField("self_mark")
    private Integer selfMark;

    @ApiModelProperty(value = "学生是否可见自己分数详情分析")
    @TableField("visible")
    private Integer visible;


}
